package com.nananren.common;

public class MyThreadLocal {
    private static ThreadLocal<Long> threadLocal = new ThreadLocal<>();

    public static void setLocal(Long id) {
        threadLocal.set(id);
    }

    public static Long getLocal() {
        return threadLocal.get();
    }

}
